<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
  <head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2007. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <meta http-equiv="Content-Style-Type" content="text/css">
    <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
    <title>
      Enabling and disabling breakpoints
    </title>
  </head>
  <body>
    <h1>
      Enabling and disabling breakpoints
    </h1>
    <p>
      Breakpoints can be enabled and disabled as needed.&nbsp; When a breakpoint is enabled, thread execution suspends before that line of code is executed.&nbsp;
      When a breakpoint is disabled, thread execution is not suspended by the
      presence of the breakpoint.
    </p>
    
<p> To disable a breakpoint in the <strong><a href="../reference/views/breakpoints/ref-breakpoints_view.htm">Breakpoints View</a></strong>: </p>
<ol>
  <li> Open the breakpoint's context menu and select <strong><a href="../reference/views/breakpoints/ref-disable_contextaction.htm">Disable</a></strong>, 
    or deselect the breakpoint's checkbox.</li>
  <li> The breakpoint image will change to a white circle and its checkbox will 
    be empty.</li>
</ol>
<p>To disable a breakpoint in the marker bar of an editor: </p>
<ol>
  <li> Open the breakpoint's context menu and select <strong>Disable Breakpoint</strong>.</li>
  <li> The breakpoint image will change to a white circle.</li>
</ol>
<p>To enable the breakpoint in the <strong><a href="../reference/views/breakpoints/ref-breakpoints_view.htm">Breakpoints View</a></strong>:</p>
<ol>
  <li> Open the breakpoint's context menu and select <strong><a href="../reference/views/breakpoints/ref-enable_contextaction.htm">Enable</a></strong>, 
    or select the breakpoint's checkbox. </li>
  <li> The breakpoint image will change back to a blue circle, and its checkbox 
    will be checked.</li>
</ol>
<p>To enable a breakpoint in the marker bar of an editor: </p>
<ol>
  <li> Open the breakpoint's context menu and select <strong>Enable Breakpoint</strong>.</li>
  <li> The breakpoint image will change to a white circle.</li>
</ol>
    <h3 class="related">Related concepts</h3>
       <a href="../concepts/cdebugger.htm">Debugger</a><br>
       <a href="../concepts/concept-java-perspective.htm">Java perspectives</a><br>
       <a href="../concepts/concept-java-editor.htm">Java editor</a><br>
    <h3 class="related">Related tasks</h3>
       <a href="task-apply_hit_count.htm">Applying hit counts</a><br>
       <a href="task-catching_exceptions.htm">Catching Java exceptions</a><br>
       <a href="../tasks/task-remove_line_breakpoints.htm">Removing breakpoints</a><br>
       <a href="task-set_method_breakpoints.htm">Setting method breakpoints</a><br>
       <a href="task-manage_conditional_breakpoint.htm">Managing conditional breakpoints</a><br>
       <a href="../tasks/task-stepping.htm">Stepping through the execution of a program</a>
    <h3 class="related">Related references</h3>
       <a href="../reference/views/breakpoints/ref-breakpoints_view.htm">Breakpoints view</a>
  </body>
</html>

